﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace ScrumTracker.Models
{
    public class SprintMetadata
    {
        [ScaffoldColumn(false)]
        public int SprintId { get; set; }
        [HiddenInput(DisplayValue=false)]
        public int ProductId { get; set; }
        [Required(AllowEmptyStrings=false)]
        public string Name { get; set; }
        [Required(AllowEmptyStrings = false)]
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:MM/dd/yyyy} ")]
        public DateTime EndDate { get; set; }
        [ScaffoldColumn(false)]
        public DateTime CreatedAt { get; set; }
        [ScaffoldColumn(false)]
        public bool IsDeleted { get; set; }
        
//        SprintId

//ProductId

//Name
// The Name field is required.
//EndDate

//CreatedAt

//IsDeleted
    }
}